package com.gh.blog.mapper;

import com.gh.blog.entity.Student;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuMapper {

    @Select("select * from student")
    List<Student> findAll();

    @Select("select * from student")
    List<Student> findByPage();

    Student findByNo(String no);
}
